package com.panopset.game.blackjack;

import com.panopset.game.Tile;

public class LayoutDealer extends Layout {

    public LayoutDealer(Tile t, int[] cardDim, Cycle cycle) {
        super(t, cardDim, cycle);
    }


    private Integer nextDealerX;

    public Integer getNextDealerX() {
        if (nextDealerX == null) {
            nextDealerX = t.getLeft();
        } else {
            nextDealerX = nextDealerX + cardSpacer;
        }
        return nextDealerX;
    }

}
